package com.app.view.loading 
{
	import flash.display.MovieClip;
	import flash.text.TextField;
	import com.peachcastle.core.Display;

	public class HallLoading extends Display
	{
		private var _load:Boolean = false;
		
		public function HallLoading(ui:MovieClip = null) 
		{
			super(ui, true);
		}
		
		override protected function initialization():void 
		{
			super.initialization();
			
			
		}
		
		public function show(percent:Number):void
		{
			super.showAssest();
			_load = true;

			assest.gotoAndStop(Math.floor(percent * 78 / 100));
		}
		
		
		public function showSocket():void
		{
			//super.showAssest();
		}
		
		public function hide():void
		{
			super.hideAssest();
			_load = false;
			
			//_animationView.stop();
		}
	}

}